package com.bingxue.edu.framework.excel.model;

import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.excel.annotation.write.style.HeadStyle;
import com.alibaba.excel.converters.longconverter.LongStringConverter;
import com.alibaba.excel.enums.poi.FillPatternTypeEnum;
import lombok.Getter;
import lombok.Setter;

@Getter @Setter
@ExcelIgnoreUnannotated
@HeadStyle(fillPatternType = FillPatternTypeEnum.SOLID_FOREGROUND, fillForegroundColor = 1)
public class ClassCancelExportModel  {

    @ExcelProperty(value = "班级id", converter = LongStringConverter.class)
    private Long classId;

    @ExcelProperty(value = "班级名称")
    private String className;

    @ExcelProperty(value = "老师名称")
    private String teacherName;

    @ExcelProperty(value = "学生姓名")
    private String studentName;

    @ExcelProperty(value = "家长手机")
    private String parentMobile;

    @HeadStyle(fillPatternType = FillPatternTypeEnum.SOLID_FOREGROUND, fillForegroundColor = 13)
    @ExcelProperty(value = "退课次数")
    private Integer cancelLessonCount;

}
